package cn.com.chengmandian.service.erp.fallback;/**
 * Description: cmd-micro-core
 * <p>
 * Created by asus on 2022/6/30 10:22
 */

import cn.com.chengmandian.core.web.pojo.AjaxResult;
import cn.com.chengmandian.service.erp.ErpCenterClient;
import cn.com.chengmandian.service.erp.form.*;
import org.springframework.stereotype.Component;

/**
 * 类备注:
 *
 * Created by asus on 2021/3/8 16:13
 * QQ 2218574608 tel 13628610467
 */
@Component
public class ErpCenterClientFallback implements ErpCenterClient {
    @Override
    public AjaxResult bindDingDing(Integer userId, String mobile) {
        return AjaxResult.error("调用bindDingDing服务失败");
    }

    @Override
    public AjaxResult sendCustomAudit(OaSendCustomAuditForm form) {
        return AjaxResult.error("调用sendCustomAudit服务失败");
    }

    @Override
    public AjaxResult sendDingAudit(OaSendDingAuditForm form) {
        return AjaxResult.error("调用sendDingAudit服务失败");
    }


    @Override
    public AjaxResult agreeAudit(OaAgreeAuditForm form) {
        return AjaxResult.error("调用agreeAudit服务失败");
    }

    @Override
    public AjaxResult disAgreeAudit(OaDisagreeAuditForm form) {
        return AjaxResult.error("调用disAgreeAudit服务失败");
    }

    @Override
    public AjaxResult cancelAudit(OaCancelProcessForm form) {
        return AjaxResult.error("调用cancelAudit服务失败");
    }

    @Override
    public AjaxResult dingMsg(DingDingMsgForm form) {
        return AjaxResult.error("调用dingMsg服务失败");
    }

    @Override
    public AjaxResult authSend(AuthSendForm form) {
        return AjaxResult.error("调用authSend服务失败");
    }

    @Override
    public AjaxResult authCheck(AuthCheckForm form) {
        return AjaxResult.error("调用authCheck服务失败");
    }

    @Override
    public AjaxResult robot(RobotForm form) {
        return AjaxResult.error("调用robot服务失败");
    }
}
